Links
dtSearch Text Retrieval Engine Programmer's Reference 7.70
IIndexJob::ToAddExcludeFilters Property
IIndexJob Interface | IIndexJob Interface | Send Feedback

Filename filters specifying files not to be indexed.

__property BSTR ToAddExcludeFilters;
Description

A file will be indexed if it matches one of the ToAddIncludeFilters and does not match any of the ToAddExcludeFilters.

Remarks

Filename filters only apply to the directories (ToAddDir or ToAddDirListName). Files listed in ToAddFileListName are always indexed, as are documents returned through DataSourceToIndex, regardless of the filters. 

IncludeFilters and ExcludeFilters can each contain one or more filename filters, separated by spaces, to apply to files in the directories selected. (ToAddExcludeFilters can be blank.) If a filename filter contains a space, put it in quotation marks. A filename filter that does not contain a backslash is compared to the name of each file. A filename filter that contains a backslash is compared to the fully- qualified pathname of each file. Example:

*.DOC *DOCS*.WPD "*My Documents*"
Interface
Links
You are here: COM Interface > Interfaces > IIndexJob Interface > IIndexJob::ToAddExcludeFilters Property
Copyright (c) 1995-2012 dtSearch Corp. All rights reserved.